<template include="./view/htm/my.common.template.htm">
	<slot name="my_nav">
		发帖套餐
	</slot>
	<slot name="my_body">
        <h5>您目前的套餐</h5>
        <div class="row border bg-secondary shadow">
            <div class="col-4 border">
                <div class="d-flex flex-column py-3">
                    <p><?php echo $ugroup['name'] ?>：<span class="text-danger h3"><?php echo $ugroup['mony'] ?></span><span class="text-danger">元</span></p>
                </div>
            </div>
            <div class="col-8 border d-flex">
                <div class="d-flex flex-column py-3">
                    <div class="d-flex">
                        有效期: 1个月
                    </div>
                    <div class="d-flex ">
                        重复信息: 不可发布
                    </div>
                </div>
                <div class="d-flex flex-column py-3 ml-2">
                    <div class="d-flex">
                        每天发布: <?php echo $ugroup['day_quota'] ?>条
                    </div>
                    <div class="d-flex ">
                        关键词：过滤
                    </div>
                </div>
            </div>
        </div>
        <h5>购买套餐</h5>
        <?php foreach($grouplist as $group){ ?>
            <div class="row border bg-secondary shadow">
                    <div class="col-4 border ">
                        <div class="d-flex custom-control custom-radio">
                            <input type="radio" value="<?php echo $group['gid'] ?>" name="gid" class="custom-control-input">
                        </div>
                        <div class="d-flex flex-column py-3">
                            <p><?php echo $group['name'] ?>：<span class="text-danger h3"><?php echo $group['mony'] ?></span><span class="text-danger">元</span></p>
                        </div>
                    </div>
                    <div class="col-8 border d-flex">
                        <div class="d-flex flex-column py-3">
                            <div class="d-flex">
                                有效期: 1个月
                            </div>
                            <div class="d-flex ">
                                重复信息: 不可发布
                            </div>
                        </div>
                        <div class="d-flex flex-column py-3 ml-2">
                            <div class="d-flex">
                                每天发布: <?php echo $group['day_quota'] ?>条
                            </div>
                            <div class="d-flex ">
                                关键词：过滤
                            </div>
                        </div>
                    </div>
                </div>
        <?php } ?>
	</slot>
</template>

<script>
$('a[data-active="menu-group-up"]').addClass('active');
</script>
